inherited Frmtb_oa_approval_Edit: TFrmtb_oa_approval_Edit
  Left = 459
  Top = 97
  BorderIcons = [biSystemMenu, biMaximize]
  Caption = #25991#20214#23457#25209#32534#36753
  ClientHeight = 543
  FormStyle = fsStayOnTop
  ExplicitTop = -36
  ExplicitHeight = 570
  DesignSize = (
    792
    543)
  PixelsPerInch = 96
  TextHeight = 12
  object LblName: TcxLabel [0]
    Left = 19
    Top = 9
    Caption = #20027#39064
    ParentFont = False
    Style.Font.Charset = GB2312_CHARSET
    Style.Font.Color = clBlue
    Style.Font.Height = -12
    Style.Font.Name = #23435#20307
    Style.Font.Style = []
    Style.IsFontAssigned = True
  end
  object EdtName: TcxDBTextEdit [1]
    Left = 57
    Top = 7
    DataBinding.DataField = 'name'
    DataBinding.DataSource = MainDataSource
    TabOrder = 0
    Width = 240
  end
  object LblCode: TcxLabel [2]
    Left = 317
    Top = 9
    Caption = #21333#21495
    ParentFont = False
    Style.Font.Charset = GB2312_CHARSET
    Style.Font.Color = clBlue
    Style.Font.Height = -12
    Style.Font.Name = #23435#20307
    Style.Font.Style = []
    Style.IsFontAssigned = True
  end
  object EdtCode: TcxDBTextEdit [3]
    Left = 350
    Top = 7
    DataBinding.DataField = 'code'
    DataBinding.DataSource = MainDataSource
    TabOrder = 1
    Width = 200
  end
  object pgcApp: TcxPageControl [4]
    Left = 6
    Top = 35
    Width = 784
    Height = 440
    Anchors = [akLeft, akTop, akRight, akBottom]
    TabOrder = 2
    Properties.ActivePage = tsFlow
    Properties.CustomButtons.Buttons = <>
    Properties.ShowFrame = True
    Properties.Style = 9
    LookAndFeel.Kind = lfStandard
    ClientRectBottom = 439
    ClientRectLeft = 1
    ClientRectRight = 783
    ClientRectTop = 19
    object tsInfo: TcxTabSheet
      Caption = #22522#26412#20449#24687
      Color = clBtnFace
      ImageIndex = 0
      ParentColor = False
      object pnlCustom: TPanel
        Left = 642
        Top = 0
        Width = 140
        Height = 420
        Align = alRight
        BevelOuter = bvNone
        TabOrder = 11
        Visible = False
      end
      object LblDepotKind: TcxLabel
        Left = 18
        Top = 20
        Caption = #32039#24613#31243#24230
        ParentFont = False
        Style.Font.Charset = GB2312_CHARSET
        Style.Font.Color = clBlue
        Style.Font.Height = -12
        Style.Font.Name = #23435#20307
        Style.Font.Style = []
        Style.IsFontAssigned = True
        Transparent = True
      end
      object lblAddDate: TcxLabel
        Left = 232
        Top = 20
        Caption = #30003#35831#26085#26399
        ParentColor = False
        ParentFont = False
        Style.Color = clBtnFace
        Style.Font.Charset = GB2312_CHARSET
        Style.Font.Color = clBlue
        Style.Font.Height = -12
        Style.Font.Name = #23435#20307
        Style.Font.Style = []
        Style.IsFontAssigned = True
        Transparent = True
      end
      object LblType: TcxLabel
        Left = 18
        Top = 49
        Caption = #23457#25209#31867#21035
        Transparent = True
      end
      object Lblacceptterm: TcxLabel
        Left = 232
        Top = 49
        Caption = #23457#25209#26399#38480
        Transparent = True
      end
      object Lblrelationterm: TcxLabel
        Left = 428
        Top = 49
        Caption = #24341#29992#26399#38480
        Transparent = True
      end
      object dynlblCreate_by: TcxLabel
        Left = 18
        Top = 108
        Caption = #25805#20316#21592' '
        Transparent = True
      end
      object dynlblStatus: TcxLabel
        Left = 232
        Top = 108
        Caption = #29366#24577
        Transparent = True
      end
      object lbltemplateid: TcxLabel
        Left = 18
        Top = 79
        Caption = #23457#25209#27169#29256
        Transparent = True
      end
      object dynedttemplateid: TcxDBLookupComboBox
        Tag = 203
        Left = 72
        Top = 77
        DataBinding.DataField = 'templateid'
        DataBinding.DataSource = MainDataSource
        Properties.ListColumns = <>
        TabOrder = 1
        Width = 120
      end
      object dynedtType: TcxDBLookupComboBox
        Tag = 200
        Left = 71
        Top = 47
        DataBinding.DataField = 'typeid'
        DataBinding.DataSource = MainDataSource
        Properties.ListColumns = <>
        TabOrder = 0
        Width = 120
      end
      object sptCustom: TcxSplitter
        Left = 634
        Top = 0
        Width = 8
        Height = 420
        HotZoneClassName = 'TcxSimpleStyle'
        AlignSplitter = salRight
        Control = pnlCustom
        Visible = False
      end
      object dynlblUpdate_time: TcxLabel
        Left = 18
        Top = 135
        Caption = #26368#21518#20462#25913#26102#38388
        Transparent = True
      end
      object dynlblempid: TcxLabel
        Left = 440
        Top = 20
        Caption = #30003#35831#20154
        ParentFont = False
        Style.Font.Charset = GB2312_CHARSET
        Style.Font.Color = clBlue
        Style.Font.Height = -12
        Style.Font.Name = #23435#20307
        Style.Font.Style = []
        Style.IsFontAssigned = True
        Transparent = True
      end
      object dynedtEmpid: TcxDBLookupComboBox
        Tag = 4
        Left = 482
        Top = 18
        DataBinding.DataField = 'empid'
        DataBinding.DataSource = MainDataSource
        Properties.ListColumns = <>
        TabOrder = 15
        Width = 121
      end
      object dynedtlevel: TcxComboBox
        Left = 71
        Top = 18
        Properties.ImmediatePost = True
        Properties.Items.Strings = (
          #29305#24613
          #32039#24613
          #26222#36890)
        Properties.OnValidate = dynedtlevelPropertiesValidate
        TabOrder = 16
        Text = #26222#36890
        Width = 121
      end
      object dynEdtAppDate: TcxDBDateEdit
        Left = 284
        Top = 18
        DataBinding.DataField = 'appdate'
        DataBinding.DataSource = MainDataSource
        Properties.DateButtons = [btnClear, btnToday]
        Properties.ImmediatePost = True
        Properties.SaveTime = False
        Properties.ShowTime = False
        TabOrder = 17
        Width = 121
      end
      object dynedtacceptterm: TcxDBDateEdit
        Left = 284
        Top = 47
        DataBinding.DataField = 'acceptterm'
        DataBinding.DataSource = MainDataSource
        Properties.DateButtons = [btnClear, btnToday]
        Properties.ImmediatePost = True
        Properties.SaveTime = False
        Properties.ShowTime = False
        TabOrder = 18
        Width = 121
      end
      object dynedtrelationterm: TcxDBDateEdit
        Left = 482
        Top = 47
        DataBinding.DataField = 'relationterm'
        DataBinding.DataSource = MainDataSource
        Properties.DateButtons = [btnClear, btnToday]
        Properties.ImmediatePost = True
        Properties.SaveTime = False
        Properties.ShowTime = False
        TabOrder = 19
        Width = 121
      end
      object dynEdtcontent: TcxDBMemo
        Left = 68
        Top = 176
        DataBinding.DataField = 'content'
        DataBinding.DataSource = MainDataSource
        Properties.MaxLength = 4000
        Properties.ScrollBars = ssVertical
        TabOrder = 20
        Height = 217
        Width = 531
      end
      object lblContent: TcxLabel
        Left = 15
        Top = 177
        Caption = #25991#20214#20869#23481
        Transparent = True
      end
      object btnCustom: TcxButton
        Left = 605
        Top = 0
        Width = 28
        Height = 78
        Caption = #33258#23450#20041' >>'
        TabOrder = 2
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        OnClick = btnCustomClick
      end
      object chkAutoMsg: TcxDBCheckBox
        Left = 232
        Top = 76
        Caption = #23457#25209#36890#36807#33258#21160#21457#24067#28040#24687
        DataBinding.DataField = 'automsg'
        DataBinding.DataSource = MainDataSource
        TabOrder = 22
      end
      object chkAutoCheckBill: TcxDBCheckBox
        Left = 428
        Top = 77
        Caption = #23457#25209#36890#36807#33258#21160#23457#26680#21333#25454
        DataBinding.DataField = 'autocheckbill'
        DataBinding.DataSource = MainDataSource
        TabOrder = 23
      end
    end
    object tsFlow: TcxTabSheet
      Caption = #23457#25209#27969#31243#21450#24847#35265
      ImageIndex = 2
      object grdFlow: TcxGrid
        Left = 0
        Top = 0
        Width = 582
        Height = 420
        Align = alClient
        TabOrder = 0
        object viewDtl: TcxGridDBTableView
          PopupMenu = pmDtl
          OnMouseDown = viewDtlMouseDown
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsDtl
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsData.Appending = True
          OptionsView.ColumnAutoWidth = True
          OptionsView.GroupByBox = False
          OptionsView.Indicator = True
          OptionsView.IndicatorWidth = 30
          Styles.Background = MainDM.bslBackGroup
          Styles.ContentEven = MainDM.bsEven
          Styles.ContentOdd = MainDM.bsOdd
          Styles.Header = MainDM.bsTitle
          Styles.Selection = MainDM.bsSelect
          object colItemID: TcxGridDBColumn
            Caption = #23457#25209#20107#39033
            DataBinding.FieldName = 'itemid'
            PropertiesClassName = 'TcxLookupComboBoxProperties'
            Properties.ListColumns = <>
            Width = 80
          end
          object colFlowUserRight: TcxGridDBColumn
            Caption = #23457#25209#21592
            DataBinding.FieldName = 'UserRight'
            PropertiesClassName = 'TcxButtonEditProperties'
            Properties.Buttons = <
              item
                Caption = #36873#25321#23457#25209#21592
                Default = True
                Kind = bkText
              end>
            Properties.ReadOnly = True
            Properties.OnButtonClick = colFlowUserRightPropertiesButtonClick
            Options.ShowEditButtons = isebAlways
            Width = 120
          end
        end
        object cvDtl: TcxGridDBCardView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsDtl
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <>
          DataController.Summary.SummaryGroups = <>
          OptionsView.CardIndent = 7
          OptionsView.CardWidth = 400
          RowLayout = rlVertical
          object cvDtlRow1: TcxGridDBCardViewRow
            Caption = #24847#35265
            DataBinding.FieldName = 'idea'
            Position.BeginsLayer = True
            Position.LineCount = 5
          end
          object cvDtlRow2: TcxGridDBCardViewRow
            DataBinding.FieldName = 'itemid'
            Position.BeginsLayer = False
          end
          object cvDtlRow3: TcxGridDBCardViewRow
            DataBinding.FieldName = 'userright'
            Position.BeginsLayer = False
          end
          object cvDtlRow4: TcxGridDBCardViewRow
            Caption = #23457#25209#26102#38388
            DataBinding.FieldName = 'approvetime'
            Position.BeginsLayer = False
          end
          object cvDtlRow5: TcxGridDBCardViewRow
            Caption = #23457#25209#20154
            DataBinding.FieldName = 'check_by'
            Position.BeginsLayer = False
          end
          object cvDtlRow6: TcxGridDBCardViewRow
            Caption = #29366#24577
            DataBinding.FieldName = 'status'
            Position.BeginsLayer = False
          end
        end
        object lvlFlow: TcxGridLevel
          GridView = cvDtl
        end
      end
      object pnlIdea: TPanel
        Left = 582
        Top = 0
        Width = 200
        Height = 420
        Align = alRight
        BevelOuter = bvNone
        TabOrder = 1
        object edtIdea: TcxDBMemo
          Left = 6
          Top = 24
          DataBinding.DataField = 'idea'
          DataBinding.DataSource = dsDtl
          Properties.ScrollBars = ssVertical
          TabOrder = 0
          Height = 220
          Width = 185
        end
        object edtCheck_by: TcxDBTextEdit
          Left = 61
          Top = 255
          DataBinding.DataField = 'check_by'
          DataBinding.DataSource = dsDtl
          Enabled = False
          TabOrder = 1
          Width = 130
        end
        object lblCheck_by: TcxLabel
          Left = 6
          Top = 256
          Caption = #23457#25209#20154
        end
        object lblIdea: TcxLabel
          Left = 6
          Top = 8
          Caption = #23457#25209#24847#35265
        end
        object edtApprovetime: TcxDBDateEdit
          Left = 61
          Top = 281
          DataBinding.DataField = 'approvetime'
          DataBinding.DataSource = dsDtl
          Enabled = False
          TabOrder = 4
          Width = 130
        end
        object lblApprovetime: TcxLabel
          Left = 6
          Top = 281
          Caption = #23457#25209#26102#38388
        end
        object btnAgree: TcxButton
          Tag = 3
          Left = 6
          Top = 315
          Width = 85
          Height = 25
          Caption = #21516#24847
          TabOrder = 6
          OnClick = btnAgreeClick
        end
        object btnDisAgree: TcxButton
          Tag = 4
          Left = 106
          Top = 315
          Width = 85
          Height = 25
          Caption = #19981#21516#24847
          TabOrder = 7
          OnClick = btnAgreeClick
        end
        object btnUnCheck: TcxButton
          Left = 106
          Top = 355
          Width = 85
          Height = 25
          Caption = #23457#25209
          TabOrder = 8
          OnClick = btnUnCheckClick
        end
        object rgpFlow: TcxRadioGroup
          Left = 6
          Top = 383
          Properties.Columns = 2
          Properties.ImmediatePost = True
          Properties.Items = <
            item
              Caption = #34920#26684
            end
            item
              Caption = #21345#29255
            end>
          ItemIndex = 1
          TabOrder = 9
          OnClick = rgpFlowClick
          Height = 35
          Width = 185
        end
      end
    end
    object tsPic: TcxTabSheet
      Caption = #22270#29255
      ImageIndex = 6
      OnShow = tsPicShow
      object btnImport: TcxButton
        Left = 503
        Top = 118
        Width = 113
        Height = 25
        Caption = #23548#20837#22270#29255
        TabOrder = 3
        OnClick = btnImportClick
      end
      object btnDelete: TcxButton
        Left = 502
        Top = 160
        Width = 113
        Height = 25
        Caption = #21024#38500
        TabOrder = 4
        OnClick = btnDeleteClick
      end
      object btnExport: TcxButton
        Left = 502
        Top = 203
        Width = 113
        Height = 25
        Caption = #23548#20986
        TabOrder = 6
        OnClick = btnExportClick
      end
      object cxLabel19: TcxLabel
        Left = 503
        Top = 16
        AutoSize = False
        Caption = #24314#35758#65306#20026#20102#36991#20813#24433#21709#31995#32479#24615#33021#65292#35831#19981#35201#20351#29992#36739#22823' (>=2M) '#30340#22270#29255
        Properties.WordWrap = True
        Transparent = True
        Height = 56
        Width = 113
      end
      object lvProPic: TcxListView
        Left = 280
        Top = 0
        Width = 200
        Height = 420
        Align = alLeft
        Columns = <>
        LargeImages = MainDM.imgLstBig
        SmallImages = MainDM.imgList
        TabOrder = 1
        OnClick = lvProPicClick
        OnDblClick = lvProPicDblClick
      end
      object btnDefPic: TcxButton
        Left = 502
        Top = 246
        Width = 113
        Height = 25
        Caption = #40664#35748#22270#29255
        TabOrder = 7
        OnClick = btnDefPicClick
      end
      object btnOtherFile: TcxButton
        Tag = 1
        Left = 503
        Top = 75
        Width = 113
        Height = 25
        Caption = #23548#20837#20854#20182#25991#20214
        TabOrder = 2
        OnClick = btnImportClick
      end
      object imgProduct: TcxDBImage
        Left = 0
        Top = 0
        Align = alLeft
        DataBinding.DataField = 'pic'
        DataBinding.DataSource = dsAffix
        Properties.GraphicClassName = 'TdxPNGImage'
        TabOrder = 0
        OnDblClick = imgProductDblClick
        Height = 420
        Width = 280
      end
    end
  end
  inherited pnlBottom: TPanel
    Top = 483
    TabOrder = 3
    ExplicitTop = 483
    inherited Bevel1: TBevel
      ExplicitWidth = 712
    end
    inherited btnOK: TBitBtn
      Top = 19
      ExplicitTop = 19
    end
    inherited btnCancel: TBitBtn
      Top = 19
      ExplicitTop = 19
    end
    inherited btnContinue: TBitBtn
      Top = 19
      ExplicitTop = 19
    end
    inherited btnPri: TBitBtn
      Top = 19
      ExplicitTop = 19
    end
    inherited btnNext: TBitBtn
      Top = 19
      ExplicitTop = 19
    end
    inherited btnBaseEditSave: TBitBtn
      Top = 19
      TabOrder = 6
      ExplicitTop = 19
    end
    object btnAccept: TBitBtn
      Left = 390
      Top = 19
      Width = 85
      Height = 23
      HelpType = htKeyword
      Anchors = [akLeft, akBottom]
      Caption = #25552#20132
      Glyph.Data = {
        76010000424D7601000000000000760000002800000020000000100000000100
        04000000000000010000120B0000120B00001000000000000000000000000000
        800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00500000000055
        555557777777775F55550FFFFFFFFF0555557F5555555F7FFF5F0FEEEEEE0000
        05007F555555777775770FFFFFF0BFBFB00E7F5F5557FFF557770F0EEEE000FB
        FB0E7F75FF57775555770FF00F0FBFBFBF0E7F57757FFFF555770FE0B00000FB
        FB0E7F575777775555770FFF0FBFBFBFBF0E7F5575FFFFFFF5770FEEE0000000
        FB0E7F555777777755770FFFFF0B00BFB0007F55557577FFF7770FEEEEE0B000
        05557F555557577775550FFFFFFF0B0555557FF5F5F57575F55500F0F0F0F0B0
        555577F7F7F7F7F75F5550707070700B055557F7F7F7F7757FF5507070707050
        9055575757575757775505050505055505557575757575557555}
      NumGlyphs = 2
      TabOrder = 5
      OnClick = btnAcceptClick
    end
  end
  inherited btnPrint: TcxButton
    Left = 581
    Top = 5
    TabOrder = 4
    ExplicitLeft = 581
    ExplicitTop = 5
  end
  inherited edtPrint: TcxLookupComboBox
    Top = 7
    TabOrder = 7
    ExplicitTop = 7
  end
  inherited MainDataSource: TDataSource
    DataSet = MainDataSet
    Left = 86
    Top = 191
  end
  object MainDataSet: TUniQuery [9]
    SQLDelete.Strings = (
      'Delete from tb_oa_approvaldtl where id=:OLD_id'
      'Delete from tb_oa_approvalbill where id=:OLD_id'
      'Delete from tb_oa_approval where id=:OLD_id')
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select  *  from tb_oa_approval where 1=2')
    CachedUpdates = True
    Options.PrepareUpdateSQL = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Options.AutoPrepare = True
    AfterScroll = MainDataSetAfterScroll
    Left = 24
    Top = 162
  end
  object dsDtl: TDataSource [10]
    DataSet = qryDtl
    Left = 286
    Top = 229
  end
  object pmDtl: TPopupMenu [11]
    Left = 220
    Top = 341
    object mItemDepot: TMenuItem
      Caption = #21024#38500#26126#32454
      OnClick = mItemDepotClick
    end
  end
  object qryDtl: TUniQuery [12]
    Connection = MainDM.UniConn
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    OnNewRecord = qryDtlNewRecord
    Left = 248
    Top = 214
  end
  object qryAffix: TUniQuery [13]
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from tb_affix  where btype=33910')
    CachedUpdates = True
    Options.PrepareUpdateSQL = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    Options.AutoPrepare = True
    OnNewRecord = qryAffixNewRecord
    Left = 408
    Top = 220
  end
  object dsAffix: TDataSource [14]
    DataSet = qryAffix
    Left = 408
    Top = 268
  end
  object SavePicDlg: TSaveDialog [15]
    Filter = #22270#29255#25991#20214'(*.bmp)|*.bmp|'#22270#29255#25991#20214'(*.jpg)|*.jpg|'#20854#20182#25991#20214'(*.*)|*.*'
    Left = 711
    Top = 171
  end
  object OpenPicDlg: TOpenPictureDialog [16]
    Filter = 
      'All (*.gif;*.png;*.jpg;*.jpeg;*.bmp;*.ico;*.emf;*.wmf,*.dwg,*.dw' +
      'f)|*.gif;*.png;*.jpg;*.jpeg;*.bmp;*.ico;*.emf;*.wmf,*.dwg,*.dwf|' +
      'CompuServe GIF Image (*.gif)|*.gif|PNG graphics from DevExpress ' +
      '(*.png)|*.png|JPEG Image File (*.jpg)|*.jpg|JPEG Image File (*.j' +
      'peg)|*.jpeg|Bitmaps (*.bmp)|*.bmp|Icons (*.ico)|*.ico|Enhanced M' +
      'etafiles (*.emf)|*.emf|Metafiles (*.wmf)|*.wmf|AutoCAD(*.dwg)|*.' +
      'dwg|AutoCAD(*.dwf)|*.dwf|ALL FILE|*.*'
    Left = 619
    Top = 158
  end
  inherited qryDynDtl: TUniQuery
    Connection = nil
    Left = 630
    Top = 1
  end
  inherited pmPrint: TPopupMenu
    Left = 678
    Top = 17
  end
  object qryBill: TUniQuery
    Connection = MainDM.UniConn
    SQL.Strings = (
      'select * from tb_oa_approvalbill')
    CachedUpdates = True
    Options.SetFieldsReadOnly = False
    Options.RequiredFields = False
    Options.QueryRecCount = True
    OnNewRecord = qryDtlNewRecord
    Left = 296
    Top = 294
  end
end
